﻿using Artech.Core.Caching.Configuration;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;

namespace Artech.Core.Resources.Configuration
{
    public class StringResourceCacheStoreData: CacheStoreData
    {
        private const string PropertyName4CacheGranularity = "granularity";

        [ConfigurationProperty(PropertyName4CacheGranularity, IsRequired = false, DefaultValue = CacheGranularity.Category)]
        public CacheGranularity CacheGranularity
        {
            get { return (CacheGranularity)base[PropertyName4CacheGranularity]; }
            set { base[PropertyName4CacheGranularity] = value; }
        }
    }
}
